package com.ruoyi.module.app.domain;

import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;


/**
 * 仓库物流单价配置对象 warehouse_logistics_price
 *
 * @author mars
 * @date 2022-11-30
 */

@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("warehouse_logistics_price")
public class WarehouseLogisticsPrice implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 仓库ID
     */
    @Excel(name = "仓库ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long warehouseId;

    /**
     * 供应方式 1 备货代采 2直送 3越库
     */
    @Excel(name = "供应方式 1 备货代采 2直送 3越库")
    private Integer supplyType;

    /**
     * 地区
     */
    @Excel(name = "地区")
    private String district;

    /**
     * 物流单价
     */
    @Excel(name = "物流单价")
    private BigDecimal price;

    /**
     * 租户ID
     */
    @Excel(name = "租户ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long tenantId;

    /**
     * 机构ID
     */
    @Excel(name = "机构ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long orgId;

    /**
     * 创建人id
     */
    @Excel(name = "创建人id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long createById;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String createByName;

    /**
     * 修改人id
     */
    @Excel(name = "修改人id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long updateById;

    /**
     * 修改人名称
     */
    @Excel(name = "修改人名称")
    private String updateByName;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;
}
